package com.dunshan.JmeterGrovDemo


/**
 * @author LiWen*
 * @Date: 2021-05-06 15:13
 * @Description: 简单学习**
 * @version 1.0
 */
class TiaoshiTest {

    static void main(String[] args) {
        // Using a simple println statement to print output to the console
        String fileName = '/Users/liwen/IdeaProjects/javaspaces/dunshanPef/dunshan-pef/dunshan-groovy/src/com/dunshan/JmeterGrovDemo/param.txt';
        // 指定文件名
        File f = new File(fileName);   // 实例化 File 对象
        def lines = f.readLines()
        for (String list : lines) {
            println(list)
        }
    }

}
